package Main;

import static org.apache.commons.lang3.StringEscapeUtils.escapeHtml4;

public class FileUtils {

	public static String escapeTitleToFilename(String title) {
		return escapeHtml4(title.replaceAll(" ", "+").replaceAll("/", "-")
				.replaceAll("\\\\", "-").replaceAll("'", "")
				.replaceAll("\\?", "").replaceAll("!", ""));
	}
}
